<?php 
	defined('_JEXEC') or die('Restricted access');

?>

<div class="productdetails-view productdetails">
	<div class="main_info clearfix">	
		<div class="product_image">
			<div class="main-image">
				<img class='single-image' src="<?php echo JUri::root(true).'/'.$this->item->images ?>" />
			</div>
		</div>
	</div>
	
	<div class="info-product">
		<div class="spacer-buy-area">
			<h2><?php echo $this->item->title ?></h2>
			<div class="product-price">
				<div class="PricesalesPrice">
					<?php echo JText::_("COM_BAKERYS_ITEM_SALEPRICE") ?>
					<span class="PricesalesPrice">
						<?php if(empty($this->item->location_price)): ?>
							<?php echo number_format($this->item->price,2,",",".") ?> $
						<?php else: ?>
							<?php echo number_format($this->item->location_price,2,".",",") ?> $	
						<?php endif; ?>
					</span>
				</div>
			</div>
			
			<div class="addtocart-area">
				<div class="addtocart-bar">
					<span class="addtocart-button">
						<input type="submit" name="addtocart" class="addtocart-button" value="<?php echo JText::_("COM_BAKERYS_ITEM_BTNADDTOCART") ?>">
					</span>								
					
					<div class="clear"></div>
				</div>
			</div>
		</div>
	</div>
	
	<div class="clear"></div>
	
	<div class="desc-review">
		<div class="title-tabs">
			<div class="desc active"><?php echo JText::_("COM_BAKERYS_ITEM_DESCRIPTION") ?></div>
		</div>
		<div class="detail-tabs">
			<div class="product-description active">
				<?php echo $this->item->description ?>
			</div>
		</div>
	</div>
</div>